/* 
face_detect_thread.hpp
 */
#pragma once
#include <QThread>
#include "face_detect_algo.hpp"

class FaceDetectThread : public QThread
{
  Q_OBJECT

public:
  explicit FaceDetectThread(InterfaceSettings &settings);

protected:
  void run() override;

signals:
  void sendResult(cv::Mat); 

private:
  std::string file_path_;
  std::shared_ptr<AlgoInterface> face_detector;
};
